import React, { Component } from 'react';
// import store from "./store";
import {connect} from "react-redux"
// console.log(store.getState());
class App extends Component {
  render() {
    return (
      <div>
        {this.props.title}
      </div>
    );
  }
}

export default connect((state)=>{
  console.log(state);
  return {
    title: state.home.title
  }
},null)(App);
